package com.votesys.model;

/**
 * Voterecord entity. @author MyEclipse Persistence Tools
 */

public class Voterecord implements java.io.Serializable {

	// Fields

	private Integer recordId;
	private Votecontent votecontent;
	private Votetopic votetopic;
	private String studentNumber;

	// Constructors

	/** default constructor */
	public Voterecord() {
	}

	/** minimal constructor */
	public Voterecord(Integer recordId) {
		this.recordId = recordId;
	}

	/** full constructor */
	public Voterecord(Integer recordId, Votecontent votecontent,
			Votetopic votetopic, String studentNumber) {
		this.recordId = recordId;
		this.votecontent = votecontent;
		this.votetopic = votetopic;
		this.studentNumber = studentNumber;
	}

	// Property accessors

	public Integer getRecordId() {
		return this.recordId;
	}

	public void setRecordId(Integer recordId) {
		this.recordId = recordId;
	}

	public Votecontent getVotecontent() {
		return this.votecontent;
	}

	public void setVotecontent(Votecontent votecontent) {
		this.votecontent = votecontent;
	}

	public Votetopic getVotetopic() {
		return this.votetopic;
	}

	public void setVotetopic(Votetopic votetopic) {
		this.votetopic = votetopic;
	}

	public String getStudentNumber() {
		return this.studentNumber;
	}

	public void setStudentNumber(String studentNumber) {
		this.studentNumber = studentNumber;
	}

}